export interface SidebarItem {
  href: string
  label: string
  iconPaths: string[]
  requiresAuth?: boolean // 是否需要登录
  guestOnly?: boolean // 是否只对游客显示
  requiresAdmin?: boolean // 是否需要管理员权限
  requiresModerator?: boolean // 是否需要版主权限
}

export const sidebarItems: SidebarItem[] = [
  {
    href: '/',
    label: '首页',
    iconPaths: ['M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z']
  },
  {
    href: '/categories',
    label: '分类',
    iconPaths: ['M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z']
  },
  {
    href: '/ai-create',
    label: 'AI创作',
    iconPaths: ['M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z'],
    requiresAuth: true
  },
  {
    href: '/admin',
    label: '管理员面板',
    iconPaths: ['M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z'],
    requiresAuth: true,
    requiresModerator: true
  },
  // 标签管理入口已移动到管理员面板的 Tab，这里不再在侧栏显示
] 